Design and Analysis of RS Sort
نویسندگان
چکیده
This paper introduces a new comparison base stable sorting algorithm, named RS sort. RS Sort involves only the comparison of pair of elements in an array which ultimately sorts the array and does not involve the comparison of each element with every other element. RS sort tries to build upon the relationship established between the elements in each pass. Suppose there is an array containing three elements a1, a2, a3 and if a relationship exist such that a1<a2 and a2<a3 then it can be established that a1<a3 and so there is no need to compare a1 and a3. Sorting is a fundamental operation in computer science. RS sort is analyzed both theoretically and empirically. We have performed its Empirical analysis and compared its performance with the well-known quick sort for various input types.
منابع مشابه
Multi Representation Systems in the Design of a Microworld for the Learning of Sorting Algorithms
This paper presents the design and the features of a Web-based micro-world -the SORTING micro-world constructed for the learning of sorting algorithms by secondary level education students. The design of this microworld has been based on modern constructivist and social theories of learning. SORTING is an interactive environment that can support learners: a) to express their own sorting procedu...
متن کاملTunnel design and construction process in difficult ground conditions with Analysis of Controlled Deformations (ADECO) approach; a Case Study
The 10.6 km long Sabzkuh water conveyance tunnel is currently under construction in High Zagros structural zone, located in western Iran, has used conventional (in section T1) and mechanized (in section T2) methods. The section T1 of the tunnel driven through alluvial geological units with great complexity in an area high potential for sliding and water-bearing fault which has made the excavati...
متن کاملProcess Improvement of Experimental Measurements Using D-optimal Models
In this paper, the application of D-optimal models, as an alternative to response surface models (RS models) for design of experiment (DOE) was examined. Two D-optimal models for tilt-rotors in the wind tunnel experiment, as a form of quadratic functions, were generated based on a chosen optimality criterion. This optimality criterion was used to generate the optimized sampled points in the des...
متن کاملDesign of Optimized Quantum-dot Cellular Automata RS Flip Flops
Complementary metal-oxide semiconductor (CMOS) technology has been the industry standard to implement Very Large Scale Integrated (VLSI) devices for the last two decades. Due to the consequences of miniaturization of such devices (i.e. increasing switching speeds, increasing complexity and decreasing power consumption), it is essential to replace them with a new technology. Quantum-dot c...
متن کاملA computer environment for beginners' learning of sorting algorithms: Design and pilot evaluation
This paper presents the design, features and pilot evaluation study of a web-based environment -the SORTING environmentfor the learning of sorting algorithms by secondary level education students. The design of this environment is based on modeling methodology, taking into account modern constructivist and social theories of learning while at the same time acknowledging the role of hands-on exp...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1407.5111 شماره
صفحات -
تاریخ انتشار 2014